import {utils} from './../utils/index'

let Address = {}

utils.commonAddApi(Address, 'getAddressList', 'address/list', 'post')
utils.commonAddApi(Address, 'getAddressDetail', 'address/detail', 'post')
utils.commonAddApi(Address, 'addAddress', 'address/create', 'post')
utils.commonAddApi(Address, 'updateAddress', 'address/update', 'post')
utils.commonAddApi(Address, 'deleteAddress', 'address/delete', 'post')

export default Address